﻿Namespace QuanLyKhachHang
    Public Class SanPham
        Private _IDSanPham As Integer
        Private _MaSanPham As String
        Private _TenSanPham As String
        Private _TenDonVi As String
        Private _SoLuongTheoQuyCach As Single
        ' initialization
        Public Sub New()

        End Sub

        ' public properties
        Public Property IDSanPham() As Integer
            Get
                Return _IDSanPham
            End Get
            Set(ByVal Value As Integer)
                _IDSanPham = Value
            End Set
        End Property

        Public Property MaSanPham() As String
            Get
                Return _MaSanPham
            End Get
            Set(ByVal Value As String)
                _MaSanPham = Value
            End Set
        End Property

        Public Property TenSanPham() As String
            Get
                Return _TenSanPham
            End Get
            Set(ByVal Value As String)
                _TenSanPham = Value
            End Set
        End Property

        Public Property TenDonVi() As String
            Get
                Return _TenDonVi
            End Get
            Set(ByVal Value As String)
                _TenDonVi = Value
            End Set
        End Property

        Public Property SoLuongTheoQuyCach() As Single
            Get
                Return _SoLuongTheoQuyCach
            End Get
            Set(ByVal Value As Single)
                _SoLuongTheoQuyCach = Value
            End Set
        End Property

    End Class
End Namespace
